package com.ruoyi.scheme.service.Impl;

import com.ruoyi.scheme.mapper.PatchMapper;
import com.ruoyi.scheme.service.PatchService;
import com.ruoyi.scheme.vo.PatchSchemeVO;
import com.ruoyi.scheme.vo.PatchVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PatchServiceImpl implements PatchService {

    @Autowired
    private PatchMapper patchMapper;

    @Override
    public List<PatchVO> searchPatch(String location, String landUseType, String ecologicalProblem) {
        return patchMapper.selectPatchList(location, landUseType, ecologicalProblem);
    }

    @Override
    public List<PatchSchemeVO> condition(String location, String landUseType, String ecologicalProblem) {
        return patchMapper.condition(location, landUseType, ecologicalProblem);
    }


}